CC=gcc
CFLAGS=-mcpu=440fp -Wall -O2 -D__USE_INLINE__

all: tlb_dump

tlb_dump: tlb_dump.o tlb_access.o
	$(CC) -o tlb_dump tlb_dump.o tlb_access.o

tlb_dump.o: tlb_dump.c
	$(CC) $(CFLAGS) -c tlb_dump.c

tlb_access.o: tlb_access.S
	$(CC) $(CFLAGS) -c tlb_access.S

clean:
	delete tlb_dump tlb_dump.o tlb_access.o
